package whu.cn.whushare.net;

/**
 * Created by Devuser on 2014/11/11.
 */
@SuppressWarnings("all")
// http://localhost:8080/WebHr/getQuestion.do?client=android&c_uid=15926345630&questionId=1
// http://localhost:8080/WebHr/getQuestionByTime.do?client=android&c_uid=15926345630&page=1&page_size=5
//http://172.16.153.28:8089
//http://172.16.153.28:8089/WebHr/setting/androiduploadimg.do

//http://www.027team.com/WebHr;
public class DownloadParams {
	public static final String HR_URL ="http://172.16.153.30:8080/WebHr";

	public static enum PARSING_TYPE {
		SEND_ID_CODE_URL(HR_URL + "/send/idcode"), LOGIN_URL(HR_URL + "/login.do?"), REGISTER_URL(HR_URL
				+ "/register.do?"), SEND_EMAIL(HR_URL + "/login/forgetpwd.do?"), USER_INFO_URL(HR_URL
				+ "/peopleinfo.do?"), EDIT_PASSWORD(HR_URL + "/settingpwd.do?"), ALL_QUESTION_LIST(HR_URL
				+ "/getQuestionByTime.do?"), QUESTION_LIST(HR_URL + "/questionList"), QUESTION_DETAIL(HR_URL
				+ "/getQuestion.do?"), ANSWER_DETAIL(HR_URL + "/getQuestionAnswers.do?"), ANSWER_LIST(HR_URL
				+ "/publish/ajax/getAnswerComments.do"), QUERY_QUESTION_ACTIVITY(HR_URL + "/search/ajax/searchMain.do?"),
                FAVOR(HR_URL + "/ajax/attentionQuestion.do"),FAVOR1(HR_URL + "/topic/ajax/focus_topic/focusTopic.do?"),
                SIGN(HR_URL+"/ajax/signActivity.do?"), ADD_ANSWER(HR_URL + "/commitAnswer.do"), COMMENTS(HR_URL
				+ "/ajax/getAnswerComments.do"), ADD_COMMENT(HR_URL + "/ajax/saveAnswerComment.do"), ACTIVITY_DETAIL(
				HR_URL + "/ajax/getActivity.do?"), SIGN_USER_LIST(HR_URL + "/ajax/getActivitySignUsers.do?"), ALL_ACTIVITY_LIST(
				HR_URL + "/ajax/getAllActivities.do?"), PUBLISH_QUESTION(HR_URL + "/publish/ajax/publish_question.do"), QUESTION_COUNT(
				HR_URL + "/getQuestionAnswersCount.do?"), VOTE(HR_URL + "/ajax/answerVote.do"), SEARCH_USER(HR_URL
				+ "/search/ajax/searchUser.do"),INVITE(HR_URL+"/ajax/saveInvite.do"),LAUNCH_ACTIVITY(HR_URL+"/publish/ajax/publish_activity.do?"),
                MY_QUESTION(HR_URL+"/people/question.do?"),MY_ANSWER(HR_URL+"/people/answer.do?"),MY_ACTIVITY(HR_URL+"/people/activity.do?"),MY_SUMMARY(HR_URL+""),
               MY_DYNAMIC(HR_URL+"/Dynamic/ajax/getFocusDynamicData.do?"),MY_TOPIC(HR_URL+"/getHotTopics.do?"),MY_TOPIC_DETAIL(HR_URL+"/getTopicQuestion.do?"),CHANGE_NICKNAME(HR_URL+"/updateuserinfonickname.do?")
              ,CHANGE_GENDER(HR_URL+"/updateuserinfogender.do?"),CHANGE_TITLE(HR_URL+"/updateuserinfoposition.do?") ,CHANGE_PHONE(HR_URL+"/updateuserinfophonenumber.do?") ,
              CHANGE_SIGN(HR_URL+"/updateuserinfoautograph.do?") ;


		PARSING_TYPE(String str) {
			url = str;

		}

		String url;

		public String getUrl() {
			return url;
		}
	}

	public static final String USER_NAME = "username";
	public static final String TYPE = "type";
	public static final String USER_ID = "userid";
	public static final String USER_PASS = "userpassword";
	public static final String TOKEN = "token";
	public static final String PASS = "password";
	public static final String CLIENT = "client";
	public static final String VERSION = "version";
	public static final String QUESTION_Name = "questionName";
	public static final String QUESTION_ID = "questionId";
	public static final String PAGE = "page";
	public static final String PAGE_SIZE = "pageSize";
    public static final String NICKNAME="nickname";
    public static final String PHONE="phone";
	public static final String EMAIL = "email";
	public static final String ACTIVITY_ID = "activity_id";
}
